home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Communications / Network / Anarchie-120 / Example Scripts / Script Docs < prev    next >
Text File  |  1994-05-10  |  1KB  |  14 lines

  1. Scripts
  2.  
  3. Where I say URL in this document, I mean either a proper URL like “ftp://user:password@host/path” (user:password@ is optional) or a simple one like: “host:path” or an Info-Mac “archived as” line like “[Archive as /info-mac/util/dehqx.hqx; 30k]” or a Umich line like “/mac/util/dehqx.hqx”
  4.  
  5. NOTE: You need to edit Download Files, Fetch Clipboard, and List Clipboard to change the Umich and Info-Mac servers to your prefered mirror site - don’t use the default ones (unless you are in Australia!), and don’t use the home sites (they are overloaded already).
  6.  
  7. Download Files - Takes a file with a list of URLs and downloads them, deleteing any lines that successfully download.  This is designed for use with Cron.  When you read the Umich New Files mailout, or the Info-Mac digest, copy any interesting references into the file, and then when the run Download Files (perhaps overnight using Cron) to fetch them.  This requires the Text Files osax (because Read/Write Commands in AS 1.1 are broken badly under the PowerPC).
  8.  
  9. Fetch Clipboard, List Clipboard - Copy a URL to the clipboard and invoke this script to download it or list the directory.
  10.  
  11. Find Clipboard - Copy part of a file name to the clipboard and invoke this script to find it.
  12.  
  13. Get Selection - Just a simple script to demonstarate the "get contents of selection" AppleScript command.
  14.